package com.example.administrator.studyframedemo.activity;

import android.support.v4.app.Fragment;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.Button;
import android.widget.TextView;

import com.example.administrator.studyframedemo.R;
import com.example.administrator.studyframedemo.fragment.HomeFragment;
import com.example.administrator.studyframedemo.fragment.MeFragment;
import com.example.administrator.studyframedemo.fragment.SearchFragment;

import java.util.Arrays;
import java.util.List;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class StartActivity extends AppCompatActivity {
//    private final List<Integer> mTabs = Arrays.asList(R.layout.activity_home_fragment, R.layout.activity_search_fragment
//            , R.layout.activity_me_fragment);
//    private final Fragment[] mFragments = {new HomeFragment(), new SearchFragment()
//            , new MeFragment()};
    @BindView(R.id.bt_1)
    Button button;
    @BindView(R.id.tv_1)
    TextView tv_1;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_start);
        ButterKnife.bind(this);

    }
    @OnClick(R.id.bt_1)

    public void printBtn1(){
        tv_1.setText("qwewqewqe");
    }
}
